package com.rykj.energy.database.service;

import com.rykj.butler.sdk.common.ResponseResult;
import com.rykj.energy.database.pojo.Organization;
import com.rykj.energy.database.pojo.vo.OrgMemberVo;
import com.rykj.energy.database.pojo.vo.OrganizationVO;

import java.util.List;

public interface IOrganizationService {

    void createOrg(Organization orgParam);

    Organization findByOrgId(Integer id);

    void updateOrg(Organization orgParam);

    void deleteByOrgId(Integer id);

    List<OrganizationVO> getOrgTree(Integer orgId,String searchName);

    List<Integer> getChildOrgIdsById(Integer orgId);

    Organization findByOrgNo(String orgNo);

    List<OrgMemberVo>  getListByOrgId(String keyWord, Integer orgId);
}
